]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gdm: Remove separate greeter universal access icon
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 13 Oct 2017 14:17:46 +0000 (16:17 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 13 Oct 2017 14:53:54 +0000 (16:53 +0200)
The idea behind always showing the icon on the login screen is that
the users' needs aren't known at that point. However we can achieve
the same behavior by including the 'always-show-universal-access-status'
key in GDM's presets, so drop the special-case.

https://bugzilla.gnome.org/show_bug.cgi?id=788943

js/ui/panel.js
js/ui/sessionMode.js
js/ui/status/accessibility.js

index d7c8397b50bb8d86f219c9ede67e77bdc6ea8c85..e90d65beb9560b2100aede4112f6bec4923d708b 100644 (file)
@@ -763,7 +763,6 @@ const PANEL_ITEM_IMPLEMENTATIONS = {
     'appMenu': AppMenuButton,
     'dateMenu': imports.ui.dateMenu.DateMenuButton,
     'a11y': imports.ui.status.accessibility.ATIndicator,
-    'a11yGreeter': imports.ui.status.accessibility.ATGreeterIndicator,
     'keyboard': imports.ui.status.keyboard.InputSourceIndicator,
 };
 
index 707ab3cb7f12bb4ec18f5993ba024a248b2b0369..b7a315e36d2d858ba6fc51abfede3885faf993d6 100644 (file)
@@ -49,7 +49,7 @@ const _modes = {
         panel: {
             left: [],
             center: ['dateMenu'],
-            right: ['a11yGreeter', 'keyboard', 'aggregateMenu'],
+            right: ['a11y', 'keyboard', 'aggregateMenu']
         },
         panelStyle: 'login-screen'
     },
index de76731a1729357565882012f9c6fa575decd630..199126304010d2e1095be3ee1356334f6d3e2e95 100644 (file)
@@ -212,12 +212,3 @@ var ATIndicator = new Lang.Class({
         return widget;
     }
 });
-
-var ATGreeterIndicator = new Lang.Class({
-    Name: 'ATGreeterIndicator',
-    Extends: ATIndicator,
-
-    // Override visibility handling to be always visible
-    _syncMenuVisibility: function() { },
-    _queueSyncMenuVisibility: function() { }
-});